import org.springframework.context.annotation.AnnotationConfigApplicationContext;

class A {

}

public class Test {
	public static void main(String[] args) {
		System.out.println(1);
		for (int i = 0; i < 10; i++) {
			System.out.println(i);
		}
		AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(A.class);
		A bean = context.getBean(A.class);
		System.out.println(bean);
	}
}
